package com.ljx.springIOCTest.service.impl;

import com.ljx.springIOCTest.dao.UserDao;
import com.ljx.springIOCTest.service.UserService;
import lombok.Data;

/**
 * @作者 LJX
 * @日期 2022/12/28 10:34
 */
@Data
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserServiceImpl() {

        System.out.println("==============UserServiceImpl构造方法执行=============");

    }

    @Override
    public void addUser() {
        System.out.println("。。。。。。。。。service层添加用户方法");
        userDao.addUser();
    }
}
